<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org">

<head>
	<title>添加影像制品（管理员）</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" th:href="@{/css/style.css}"/>
	<link rel="stylesheet" type="text/css" th:href="@{/bootstrap/css/bootstrap.css}"/>
</head>

<body>
<div id="wrap">
	<div id="top_content">
			<div id="header">
				<div id="rightheader">
					<p>
						[[${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd')}]]
						<br />
					</p>
				</div>
				<div id="topheader">
					<h1 id="title">
						<a href="#">影像制品租凭管理系统</a>
					</h1>
				</div>
				<div id="navigation">
					<ul>
						<li>
							<a href="/ims/product/findAll?type=admin">管理影像制品</a>
						</li>
						<li>
							<a href="/ims/user/findAll">管理用户账号</a>
						</li>
						<li>
							<a href="/ims/index">退出登陆</a>
						</li>
					</ul>
				</div>
			</div>
		<div id="content">
			<p id="whereami"></p>
			<h1>
				添加影像制品信息:
			</h1>
			<form th:action="@{/product/save}" method="post">
				<table cellpadding="0" cellspacing="0" border="0" class="form_table">
					<tr>
						<td valign="middle" align="right">
							影像名称:
						</td>
						<td valign="middle" align="left">
							<input type="text" class="inputgri" name="pName"/>
						</td>
					</tr>
					<tr>
						<td valign="middle" align="right">
							影像类型	:
						</td>
						<td valign="middle" align="left">
<!--							<input type="text" class="inputgri" name="pClassify" />-->
							<select name="pClassify" id="pClassify">
								<option value="">请选择影像类型</option>
								<option value="爱情片">爱情片</option>
								<option value="动作片">动作片</option>
								<option value="科幻片">科幻片</option>
								<option value="悬疑片">悬疑片</option>
								<option value="喜剧片">喜剧片</option>
								<option value="战争片">战争片</option>
								<option value="恐怖片">恐怖片</option>
								<option value="动漫">动漫</option>
							</select>
						</td>
					</tr>
					<tr>
						<td valign="middle" align="right">
							制品类型:
						</td>
						<td valign="middle" align="left">
<!--						<input type="text" class="inputgri" name="pType" />-->
							<select name="pType" id="pType">
								<option value="">请选择制品类型</option>
								<option value="CD">CD</option>
								<option value="VCD">VCD</option>
								<option value="DVD">DVD</option>
								<option value="BV">BD</option>
							</select>
						</td>
					</tr>
					<tr>
						<td valign="middle" align="right">
							是否可租:
						</td>
						<td valign="middle" align="left">
<!--							<input type="text" class="inputgri" name="canRent" />-->
							<select name="canRent" id="canRent">
								<option value="">请选择是否发布</option>
								<option value="1">发布</option>
								<option value="0">下架</option>
							</select>
						</td>
					</tr>
				</table>
				<p>
					<input type="submit" class="btn btn-primary" value="确认" />
					<input type="reset" class="btn btn-default" value="重置" />
					<input type="button" onclick="location.href='/ims/product/findAll?type=admin'" class="btn btn-default" value="取消" />
				</p>
			</form>
		</div>
	</div>
	<div id="footer">
		<div id="footer_bg">
			copyright@2021
		</div>
	</div>
</div>
</body>
</html>
